package com.zq.assistant.func.apifactory.callback;

/**
 * Created by zhangqiang on 17-5-26.
 */

public interface FailureCallback {

    public static final int CONNECT_TIME_OUT = 1;

    public static final int RESPONSE_ERROR = 2;

    public static final int JSON_FORMAT_ERROR = 3;

    public static final int NET_WORK_DISABLE = 1;

    void onFail(int errorCode, String message);
}
